Initial implementation of display of R2L paragraphs in GUI sessions.
authorEli Zaretskii <eliz@gnu.org>
Sat, 10 Apr 2010 12:40:35 +0000 (15:40 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 10 Apr 2010 12:40:35 +0000 (15:40 +0300)
commit1d9bc639aefa14dd4b3ca9f1a11ba0a122f75043
tree28130606d04a51a2d2405f70f211ca39412cf8fc
parent4d2fea52b0fb30c5f7131da386dcbe919b834831
Initial implementation of display of R2L paragraphs in GUI sessions.

 xdisp.c [HAVE_WINDOW_SYSTEM]: Add prototype for
 append_stretch_glyph.
 (set_cursor_from_row) <cursor_x>: Remove unused variable.  Fix
 off-by-one error in computing x at end of text in the row.
 (extend_face_to_end_of_line): If the row is reversed, prepend a
 stretch glyph whose width is such that the rightmost glyph will be
 drawn at the right margin of the window.
 (append_stretch_glyph): In reversed row, prepend the glyph rather
 than append it.  Set resolved_level and bidi_type of the glyph.
src/ChangeLog
src/xdisp.c